from django.urls import path, include
from rest_framework.routers import DefaultRouter

from Apps.user_operation import views

router = DefaultRouter()  # 实例化router

# 注册user
router.register(r'userfavs', views.UserFavViewSet, basename="userfavs")

urlpatterns = [
    path('', include(router.urls)),
]
